import api from "@/libs/request";

/** 获取商品基金配置 */
export const getCommoditySet = (data: any) => {
  return api.get(`/recycling/recycling-setting/info`, data);
};

/** 设置商品基金 */
export const saveCommoditySet = (data: any) => {
  return api.put(`/recycling/recycling-setting/fund/modify`, data);
};

/** 获取基金详情设置 */
export const getCommodityDet = (data: any) => {
  return api.get(`/recycling/recycling-ass-order-account/statistical`, data);
};

/** 获取用户基金列表详情 */
export const getUserCommodityList = (data: any) => {
  return api.get(`/recycling/recycling-ass-order-account/list`, data);
};
